package com.white.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.white.bean.Article;

import java.util.List;

public interface ArticleService extends IService<Article> {
    List<Article> getArticleListByClassifyId(Long classifyId);

    List<Article> getRecommendArticle(Long recommendUserId);

    List<Article> getRecommendArticleByPage(Long recommendUserId, int page, int limit);

    List<Article> getHotArticle();

    List<Article> search(String content);

    List<Article> getLikeArticleByUserId(Long userId);

    void viewsInc(Long articleId);

    List<Article> getHotArticleByPage(int page, int limit);

    Article getByArticleId(Long articleId);
}
